#ifndef SORTINGALGORITHM_H
#define SORTINGALGORITHM_H

#include "array.h"
#include <omp.h>
#include <cmath>

class SortingAlgorithm
{
protected:
    unsigned long getThreadCount(unsigned long size) const;
public:
    virtual ~SortingAlgorithm() {}
    virtual void sort(Array * a) = 0;
};

#endif // SORTINGALGORITHMS_H
